#ifndef __UART_FIFO_H__
#define __UART_FIFO_H__

#include "raw_api.h"

#define UART_RECEIVE_WAY 1 //* 0:FIFO+semaphore; 1: QUEUE


typedef struct UART_MSG {

	RAW_U8  *buf;	
	RAW_U16 len;
	
}UART_MSG;

extern void Uart0Init_fifo(void);
extern RAW_U32 uart_receive_t(RAW_U8 *buffer, RAW_U32 size, RAW_U32 timeout);


#endif

